package com.neu.fenli2023623.mapper;

import com.neu.fenli2023623.entity.Mzcz;
import com.neu.fenli2023623.entity.Tk;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
* @author surhon
* @description 针对表【tk】的数据库操作Mapper
* @createDate 2023-07-11 19:56:43
* @Entity com.neu.fenli2023623.entity.Tk
*/
@Mapper
public interface TkMapper {
    List<Map<String, Object>> selectAll();
    List<Map<String, Object>> selectByDateRangeOrPatient(String startDate, String endDate,String patientName, String cardNumber);
    int updateAddNote(Tk record);

    int deleteByPrimaryKey(Long id);

    int insert(Tk record);

    int insertSelective(Tk record);

    Tk selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Tk record);

    int updateByPrimaryKey(Tk record);

}
